home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 August / Macworld (1999-08).dmg / From Macworld Readers / FREE Scripts / FREE Guides / FREE Guide Macintosh / FREE Guide • Macintosh 3.1.sea / FREE Guide • Macintosh 3.1.rsrc / TEXT_161.txt < prev    next >
Text File  |  1998-12-04  |  12KB  |  236 lines

  1.  
  2.  
  3.  
  4.  
  5. POSTSCRIPT
  6.  
  7.  
  8.  
  9. ¬†             PostScript is a powerful and universal tool for desktop publishing (DTP). 
  10.                It can be used on any kind of computer, whatever its operating system.
  11.  
  12.  
  13.  
  14. PostScript Basics
  15. qqqqqqqqqqqqq
  16.  
  17.  
  18. The PostScript Language
  19. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  20.  
  21. PostScript is a Page Description Language (PDL) that describes the presentation of an image in a form that‚Äôs understood by any PostScript device ‚Äî usually a PostScript printer. Anything from aPostScript font to an entire document (such as a PostScript file) can be downloaded from a computer into a PostScript printer for printing. These descriptions always give the best possible results on a printer, irrespective of it‚Äôs resolution.
  22.  
  23. A PostScript printer accepts descriptions on one of three levels. If it receives descriptions at a lower level it takes these as well ‚Äî but it can‚Äôt accept instructions at a higher level! Hence a PostScript Level 2 printer can accept Level 1 and Level 2 descriptions but a PostScript Level 1 printer can‚Äôt use those at Level 2.
  24.  
  25. Level 1 is highly reliable but can‚Äôt support any more than 256 characters per font, making it unsuitable for Chinese or other pictographic languages. Level 2, on the other hand, supports thousands of characters, gives better colour matching and is faster.
  26.  
  27. Level 3 (not yet available) creates 3D, full-range colour or half-tone images (with over 256 grey levels) and non-Roman characters. It can process HTML or PDF files, allows more fonts inside a printer and lets each PostScript device have a Web page on the Internet.
  28.  
  29.  
  30.  
  31. PostScript Data
  32. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  33.  
  34. PostScript can send the following kinds of data to a printer:-
  35.  
  36.             z Font
  37.                 A font of specified typeface or style that can be scaled to any size without 
  38.                 distortion and whose angle can be adjusted continuously to create various 
  39.                 oblique styles. The PostScript outline font descriptions can be obtained from 
  40.                 the printer itself or from the Mac‚Äôs Fonts folder.
  41.  
  42.             z Text
  43.                 This is reproduced using the last selected font.
  44.  
  45.             z Object-Orientated Graphic
  46.                 A description of a graphic element ‚Äî a line can be described by its length, 
  47.                 thickness, start point and end point.
  48.  
  49.             z Bitmap Graphic
  50.                 Each pixel in a bitmap is reproduced on a typical 300 dpi laser printer by means 
  51.                 of a square of 4 x 4 laser dots at 75 lines per inch. The printed image may be
  52.                 reduced by 4% to align the dots with the pixels shown on a Mac‚Äôs 72 dpi screen.
  53.  
  54.             z Grey Scale Data
  55.                 Data used with a bitmap (see above) to create a half-tone image.
  56.  
  57.  
  58. √π  See the Fonts chapter for details about PostScript fonts
  59.  
  60.  
  61.  
  62. PostScript in Operation
  63. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  64.  
  65. Most applications use the Mac‚Äôs own QuickDraw system to create images on the screen or on a non-PostScript printer. When such an image is required on a PostScript printer it‚Äôs converted into PostScript form by means of an appropriate printer driver file in the Extensions folder (in the System Folder).
  66.  
  67. Some applications avoid this conversion by working purely in a PostScript environment (using QuickDraw only for the screen image). Such applications may not work or may give poor results with a non-PostScript printer.
  68.  
  69. Any PostScript printer can convert PostScript code into a bitmap by rasterising the image. It does this by means of its powerful built-in Raster Image Processor (RIP). Most PostScript printers are laser devices with a resolution of 300, 600 or 1200 dpi. All Apple PostScript machines use AppleTalk, which makes them ideal for a network.
  70.  
  71. Some printers can also emulate a Diablo 630 daisy-wheel printer (using 12-point Courier font) or take instructions in Hewlett-Packard‚Äôs Printer Control Language 4 (PCL4) or PCL5.
  72.  
  73. ‚Ä∫      Some non-PostScript printers use a software form of RIP. This lets you use the 
  74.         printer as if it were a real PostScript device.
  75.  
  76.  
  77.  
  78. LaserWriter Extra Features
  79. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  80.  
  81. ¬†                                  Some LaserWriters incorporate PhotoGrade software to adjust the size 
  82.                                     and position of the printer‚Äôs laser, resulting in a significant 
  83.                                     improvement in half-tone image quality. A 300 dpi machine with 
  84.                                     PhotoGrade will give 50% more visible shades than a standard 600 dpi 
  85.                                     machine. You must print a set of calibration sample pages via the 
  86.                                     utility and then pick the best page. You enter your choice into the Mac 
  87.                                     and the printer then uses this calibration for all future printing.
  88.  
  89.                                     FineGrade is a much simpler algorithm, available in some printers to 
  90.                                     smooth out the more jagged parts of text and graphics. 
  91.  
  92.  
  93.  
  94.  
  95. PostScript Software
  96. qqqqqqqqqqqqqq
  97.  
  98.  
  99.  
  100. Applications
  101. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  102.  
  103. A wide range of PostScript-based applications are available, many of them produced by Adobe. For desktop publishing (DTP) PageMaker provides a convenient pasteboard environment ‚Äî you can slide material from the board into your publication. Each story can be compiled as a block of text which can then be flowed into a ready-designed layout. It‚Äôs a powerful application but requires a fast computer for best effect.
  104.  
  105. For graphics work you could use Illustrator and/or Freehand ‚Äî plus Photoshop for manipulation of high-quality images. All of these applications are rather expensive
  106. ‚Äî but then they are professional products!
  107.  
  108. ‚Ä∫      Some PostScript-based applications only work properly with a PostScript printer.
  109.  
  110. ‚Ä∫      Images used in PostScript applications such as PageMaker are always opaque. This 
  111.         means they always hide anything that‚Äôs in the background.
  112.  
  113. ‚Ä∫      Adobe Type Manager lets you print PostScript fonts on a non-PostScript printer
  114.         ‚Äî but it doesn‚Äôt support PostScript graphics or other features.
  115.  
  116.  
  117.  
  118.  
  119. LaserWriter Utility
  120. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  121.  
  122. ¬†              This application, supplied with the system, can download fonts or PostScript files 
  123.                 into a PostScript printer. It can set various options for any selected PostScript 
  124.                 printer ‚Äî but not all printers use all of the features in the utility.
  125.  
  126. √π   See Fonts for details on the LaserWriter Utility and fonts
  127.  
  128. Here‚Äôs a summary of what LaserWriter Utility can do:-
  129.  
  130.                General Controls
  131.  
  132.                Change the printer name
  133.                Enable or disable the test page when the printer is first powered
  134.                Assign the printer to a different EtherTalk zone
  135.                Set an idle time before the printer powers down ‚Äî this saves power
  136.                Restart the printer ‚Äî this clears out all downloaded fonts
  137.                Download a PostScript file
  138.                Count the number of pages printed
  139.                Set the size of paper in an automatic tray or enable tray switching
  140.  
  141.                Print Quality
  142.  
  143.                Set the print density for graphics - this sets the darkness
  144.                Select FinePrint or PhotoGrade quality
  145.                Switch the printer resolution between 300 and 600 dpi
  146.                Enable or disable higher quality text printing
  147.                Enable or disable higher quality greyscale printing
  148.  
  149.  
  150.  
  151.  
  152. PostScript Files
  153. qqqqqqqqqqqq
  154.  
  155.  
  156. PostScript descriptions can be stored in a variety of file types:-
  157.  
  158.  
  159. PostScript File (TEXT)
  160. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  161.  
  162. This file contains a PostScript description as pure text. In some Print dialogs you can create a PostScript file by selecting Disk File instead of the printer. At a later time, the resultant file can be downloaded to a PostScript printer with LaserWriter Utility (see above). The file may (or may not) contain the font descriptions necessary to print the document. 
  163.  
  164. A PostScript file often contains lots of formatting data ‚Äî typically 80 K for 5 K of real text. If you‚Äôre desperate, you can extract useful information by reading it with a text editor! 
  165.  
  166.            z To create a file without a PostScript printer :
  167.                Select a laser printer in the Chooser ‚Äî the LaserWriter Select 310 avoids AppleTalk. 
  168.                In the Print dialog select Print to PostScript file and choose Print Later.
  169.  
  170.            z To view or print a file:
  171.                Use an application such as Illustrator, Freehand  or GhostScript (Aladdin) ‚Äî these 
  172.                can also convert the file into a PICT, TIFF or EPSF version.
  173.  
  174.  
  175.  
  176. Encapsulated PostScript File (EPSF)
  177. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  178.  
  179. An EPSF contains a PostScript description packaged together with extra information about the document. This file type is used for any one of the following:-
  180.  
  181.           z Drawing
  182.               Usually described with PostScript, but QuickDraw commands can be used instead. 
  183.               Often used for monochrome line art or where 256 colours or less are used.
  184.  
  185.           z Painting
  186.               A bitmap using monochrome, greyscale, RGB or CMYK encoding.
  187.  
  188.           z Page
  189.               A PostScript description of a page of text and graphics ‚Äî or part of a page.
  190.  
  191.  
  192. Placing & Importing EPSFs                                                                                       
  193.  
  194. Each EPSF has a header that indicates the dimensions of the file‚Äôs contents and how it‚Äôs to be placed in a final document. A file can be placed (and scaled or rotated) into another page without the receiving application knowing anything about the file‚Äôs contents.
  195.  
  196. Many applications that can place an EPSF can‚Äôt edit the appearance of the source EPSF itself. Worse still, if you‚Äôve not got a PostScript printer you‚Äôll only see its preview image (see below) ‚Äî and they don‚Äôt look too good!
  197.  
  198. With an application that‚Äôs able to import an EPSF you can edit the original file. Sadly, many applications that appear to import EPSFs can only place them ‚Äî or can only import Adobe Illustrator files. Unfortunately Illustrator files, of Creator ART3 and Type EPSF, are an incredibly simplified version of the real thing!
  199.  
  200. You may find a utility such as epsConverter useful for converting real EPSFs into the Illustrator variety. Once converted you can use these files with any application that accepts them ‚Äî and edit their contents as well.
  201.  
  202.  
  203. EPSF Preview Images                                                                                               
  204.  
  205. A source EPSF may contain a low resolution preview image to let you see what you‚Äôre placing into a destination document. This gives you some idea of the final result without having to load the entire file into RAM. If a preview image is missing when you place an EPSF into PageMaker you‚Äôll only see a grey box.
  206.  
  207. Three methods are commonly used:-
  208.  
  209.  
  210.               Machine           File            Preview                                                      
  211.  
  212.               Mac                EPSF           PICT resource of ID 256
  213.               MS-DOS          . EPS            TIFF or Windows Metafile before or after EPS code
  214.               MS-DOS          .TXT            EPSI Hex dump as a PostScript comment
  215.  
  216.  
  217. The EPSI format uses what‚Äôs called an in-line preview.
  218.  
  219.  
  220. Other Points to Note ‚Ķ
  221.  
  222. ¬∑           Not all applications can open all varieties of EPSF.
  223.  
  224. ¬∑          Before printing an EPSF you must check that all necessary fonts  are already in the 
  225.        printer. If not, you‚Äôll need to include them in the EPSF  or download them into it. 
  226.        Don‚Äôt send fonts inside an  EPSF to anyone else ‚Äî you‚Äôll break the copyright laws! 
  227.  
  228. ¬∑          A Showpage PostScript command may be added to the end of a file.  This lets you print 
  229.        the image before embedding it into another  document ‚Äî once embedded this 
  230.        command is disregarded.  Some applications automatically include this command. 
  231.  
  232. ¬∑          Some EPSFs are compressed using JPEG compression.
  233.  
  234.  
  235.  
  236. ¬©Ray White. All Rights Reserved 1997